﻿using System.Collections.Generic;

namespace Subfaculty.Common.Interfaces.Services
{
	public interface IBaseRepository<T> where T : class
	{
		T Get(int id);
		IEnumerable<T> GetAll();
		bool Save(T entity);
		bool Delete(T entity);
		bool Delete(int id);
	}
}
